PrintSetupButtonClicked Event (Window Object)

Sample Code - PrintSetupButtonClicked Event

The PrintSetupButtonClicked event occurs when the Print Setup button is clicked.

Syntax

Event PrintSetupButtonClicked (useDefault As Boolean)

Parameters

useDefault

Specifies Boolean value indicating whether the default setting should be used. Assign useDefault = FALSE if not using default behavior defined in CPEAUT (that is, if you do not want the Printer Setup dialog box to appear).

Remarks

Before enabling this event, the HasPrintSetupButton property of the PrintWindowOptions Object, must be set to TRUE. This event is enabled by using the PrintWindowButtonEnabled property of the EventInfo Object, obtained through the EventInfo property of the Report Object. For more information, see Object Model Events.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com